import request from '@/utils/request'

/**
 * 分页查询数据
 * @param {*} current 
 * @param {*} size 
 * @param {*} loginLogVO 
 * @returns 
 */
export function findLoginLogPage(current, size, loginLogVO){
    return request({
        url: "/loginLog/findLoginLogPage",
        method: 'post',
        params: {
            current,
            size
        },
        data: loginLogVO
    })
}

/**
 * 根据id删除文件
 * @param {} id 
 * @returns 
 */
export function deleteLoginLogById(id){
    return request({
        url: '/loginLog/deleteLoginLogById',
        method: 'post',
        params: {
            id
        }
    })
}

/**
 * 根据id批量删除文件
 * @param {} ids 
 * @returns 
 */
export function deleteLoginLogsByIds(ids){
    return request({
        url: '/loginLog/deleteLoginLogsByIds',
        method: 'post',
        params: {
            ids
        }
    })
}

